home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
emula
/
arosdv19.lha
/
AROS
/
config
/
linux
/
makefile
< prev
Wrap
Makefile
|
1996-10-30
|
675b
|
33 lines
TOP=../..
USER_INCLUDES=-I$(TOP)/graphics -I$(TOP)/intuition
include $(TOP)/config/make.cfg
FILES = graphics_driver intuition_driver
all: setup \
$(foreach f,$(FILES),$(OSGENDIR)/$(f).o)
setup :
@if [ ! -d $(OSGENDIR) ]; then $(MKDIR) $(OSGENDIR) ; else true ; fi
clean:
$(RM) $(OSGENDIR) *.err
config:
@echo "Configuring for Linux..."
$(OSGENDIR)/%.o: %.c
$(CC) $(CFLAGS) $(X11CCFLAGS) $< -c -o $@ 2>&1|tee $*.err
if test ! -s $*.err; then rm $*.err ; else true ; fi
$(OSGENDIR)/%.d: %.c
@if [ ! -d $(OSGENDIR) ]; then $(MKDIR) $(OSGENDIR) ; else true ; fi
@$(RM) $@
@touch $@
$(MKDEPEND) -p$(OSGENDIR)/
include $(foreach f,$(FILES),$(OSGENDIR)/$(f).d)